package com.wtb.javatool.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "homework")
public class Homework {

    @TableId(value = "id")
    private Long id;

    @TableField(value = "teacher_id")
    private Long teacherId;

    @TableField(value = "catalog_id")
    private Long catalogId;

    @TableField(value = "class_id")
    private Long classId;

    @TableField(value = "homework_name")
    private String homeworkName;

    @TableField(value = "create_time")
    private String createTime;

    @TableField(value = "homework_submit_id")
    private Long homeworkSubmitId;
}
